package com.example.questionnairespringboot.entity;

import java.util.ArrayList;
import lombok.Data;

@Data//使用lombok自动生成getter和setter
public class Question implements java.io.Serializable {
    String important;
    ArrayList<QuestionOption> questionOption;
    String questionTitle;
    String questionType;
    public Question(String important,
        ArrayList<QuestionOption> questionOption, String questionTitle, String questionType) {
        this.important = important;
        this.questionOption = questionOption;
        this.questionTitle = questionTitle;
        this.questionType = questionType;
    }
}

